use "/Users/jimgolby/Desktop/Desktop - Jim’s MacBook Air/CC Desktop/Research/Wave 2 Final/Ch3 - Wave 2 Figures.dta", clear


twoway (dot meanconf educ5 if PID == 1) (dot meanconf educ5 if PID == 2) (line meanconf educ5 if PID == 1) (line meanconf educ5 if PID == 2) (rcap cub clb educ5 if PID == 1) (rcap cub clb educ5 if PID == 2), ytitle(Predicted Confidence in the Military) ytitle(, size(medsmall)) yscale(range(0 1)) ylabel(0(.2)1, nogrid) ymtick(, nogrid glcolor()) graphregion(fcolor(white) lcolor(white) lalign(outside) ifcolor(white) ilcolor(white)) plotregion(fcolor(white) lcolor(black) lalign(outside) ifcolor(white) ilcolor(white)) xlabel(1 "Less than HS" 2 "HS Degree" 3 "Some College" 4 "BS or Higher" 5 "Grad Degree", noticks) xscale(range(0.5 5.5))

twoway (dot meanparty educ5 if PID == 1) (dot meanparty educ5 if PID == 2) (line meanparty educ5 if PID == 1) (line meanparty educ5 if PID == 2) (rcap mub mlb educ5 if PID == 1) (rcap mub mlb educ5 if PID == 2), ytitle(% Answering Correctly) ytitle(, size(medsmall)) yscale(range(0 1)) ylabel(0(.2)1, nogrid) ymtick(, nogrid glcolor()) graphregion(fcolor(white) lcolor(white) lalign(outside) ifcolor(white) ilcolor(white)) plotregion(fcolor(white) lcolor(black) lalign(outside) ifcolor(white) ilcolor(white)) xlabel(1 "Less than HS" 2 "HS Degree" 3 "Some College" 4 "BS or Higher" 5 "Grad Degree", noticks) xscale(range(0.5 5.5))
